package adminlte.auth;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author ZHUFEIFEI
 */
public interface IntegrationAuthenticator {

    boolean support(IntegrationAuthentication authentication);

    void prepare(IntegrationAuthentication authentication);

    UserDetails authenticate(IntegrationAuthentication authentication);

    void complete(IntegrationAuthentication authentication);
}
